export default [
    // 优惠券管理
    {
        path: "/marketing/coupon",
        name: "CouponList",
        meta: {
            title: "优惠券管理",
        },
        component: () => import("../views/marketing/Coupon/CouponList.vue"),
    },
    {
        path: "/marketing/coupon/add",
        name: "CouponAdd",
        meta: {
            title: "添加优惠券",
            showBread: true,
        },
        component: () => import("../views/marketing/Coupon/CouponUpdate.vue"),
    },
    {
        path: "/marketing/coupon/edit",
        name: "CouponEdit",
        meta: {
            title: "修改优惠券",
            showBread: true,
        },
        component: () => import("../views/marketing/Coupon/CouponUpdate.vue"),
    },
    // 充值管理
    {
        path: "/marketing/discount",
        name: "DiscountList",
        meta: {
            title: "充值管理",
        },
        component: () => import("../views/marketing/Discount/DiscountList.vue"),
    },
    {
        path: "/marketing/discount/add",
        name: "DiscountAdd",
        meta: {
            title: "添加充值优惠",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/Discount/DiscountUpdate.vue"),
    },
    {
        path: "/marketing/discount/edit",
        name: "DiscountEdit",
        meta: {
            title: "修改充值优惠",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/Discount/DiscountUpdate.vue"),
    },
    // 首单立减
    {
        path: "/marketing/first-order",
        name: "FirstOrderList",
        meta: {
            title: "首单立减管理",
        },
        component: () =>
            import("../views/marketing/FirstOrder/FirstOrderList.vue"),
    },
    {
        path: "/marketing/first-order/add",
        name: "FirstOrderAdd",
        meta: {
            title: "添加首单立减",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/FirstOrder/FirstOrderUpdate.vue"),
    },
    {
        path: "/marketing/first-order/edit",
        name: "FirstOrderEdit",
        meta: {
            title: "修改首单立减",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/FirstOrder/FirstOrderUpdate.vue"),
    },
    // 满减
    {
        path: "/marketing/full-reduction",
        name: "FullReductionList",
        meta: {
            title: "满减管理",
        },
        component: () =>
            import("../views/marketing/FullReduction/FullReductionList.vue"),
    },
    {
        path: "/marketing/full-reduction/add",
        name: "FullReductionAdd",
        meta: {
            title: "添加满减",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/FullReduction/FullReductionUpdate.vue"),
    },
    {
        path: "/marketing/full-reduction/edit",
        name: "FullReductionEdit",
        meta: {
            title: "修改满减",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/FullReduction/FullReductionUpdate.vue"),
    },
    // 下单有礼
    {
        path: "/marketing/order-gift",
        name: "OrderGiftList",
        meta: {
            title: "下单有礼管理",
        },
        component: () =>
            import("../views/marketing/OrderGift/OrderGiftList.vue"),
    },
    {
        path: "/marketing/order-gift/add",
        name: "OrderGiftAdd",
        meta: {
            title: "添加下单有礼",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/OrderGift/OrderGiftUpdate.vue"),
    },
    {
        path: "/marketing/order-gift/edit",
        name: "OrderGiftEdit",
        meta: {
            title: "修改下单有礼",
            showBread: true,
        },
        component: () =>
            import("../views/marketing/OrderGift/OrderGiftUpdate.vue"),
    },
];
